﻿using System.Data;

namespace Platform.DB
{
    public interface IDbFactory
    {
        string ConnectString { get; set; }

        IDbConnection CreateConnection();

        IDbConnection CreateConnection1(string str);

        IDbDataAdapter CreateDataAdapter();

        IDataParameter CreateDataParameter();

        bool CreateDb(string dbName);

    }
}